<!doctype html>
<html>
<head>
    <meta charset="utf-8">
    <title>Dom.css</title>
    <script src="../src/dom.js"></script>
</head>
<body>
<div id="hello-world">
    <div>Hello</div>
    <h1 id="header">World!</h1>
</div>

<script type="text/javascript">

    console.log(Dom.text(Dom.id('hello-world')));//prints Hello\nWorld!

</script>
</body>
</html>